package com.example.chat.viewmodel

import androidx.compose.runtime.mutableStateOf
import com.example.chat.model.Topic
import com.example.featuresdk.vo.Status
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.emptyFlow

/**
 * State that is observed by UI, changes to State will be reflected in UI automatically
 */
class TopicListState {

    val status = mutableStateOf(Status.Loading)
    var message = mutableStateOf("")

    var topics: Flow<List<Topic>> = emptyFlow()

    //var participants: Flow<Map<Long,List<User>>> = emptyFlow()
}